package com.elong.spring.reflect;

public class Car {

    private String brand;
    
    private String color;
    
    private int maxSpeed;
    
    public Car(){}

    /** Constructor for Car. 
      * <p>Title: </p>
      * <p>Description: </p>
      * @param brand
      * @param color
      * @param maxSpeed
      */
    
    public Car(String brand, String color, int maxSpeed) {
	super();
	this.brand = brand;
	this.color = color;
	this.maxSpeed = maxSpeed;
    }
    
    public void introduce(){
	System.out.println("brand:" + brand + ";color:" + color + ";maxSpeed:" + maxSpeed);
    }

    /**
     * getter method for brand
     * @return the brand
     */
    public String getBrand() {
        return brand;
    }

    /**
     * setter method for brand
     * @Description the brand to set
     * @param brand 
     */
    public void setBrand(String brand) {
        this.brand = brand;
    }

    /**
     * getter method for color
     * @return the color
     */
    public String getColor() {
        return color;
    }

    /**
     * setter method for color
     * @Description the color to set
     * @param color 
     */
    public void setColor(String color) {
        this.color = color;
    }

    /**
     * getter method for maxSpeed
     * @return the maxSpeed
     */
    public int getMaxSpeed() {
        return maxSpeed;
    }

    /**
     * setter method for maxSpeed
     * @Description the maxSpeed to set
     * @param maxSpeed 
     */
    public void setMaxSpeed(int maxSpeed) {
        this.maxSpeed = maxSpeed;
    }
    
}
